Part Number Hot Search : 
PQ05RF2V IRFZ4 0056D10 2450BP 1205DH EZ5Z3L LC66506B L2120172
Product Description
Full Text Search
 

To Download SC16C652BIBS151 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1. general description the sc16c652b is a 2 channel universal asynchronous receiver and transmitter (uart) used for serial data communications. its principal function is to convert parallel data into serial data and vice versa. the uart can handle serial data rates up to 5 mbit/s. the sc16c652b is pin compatible with the sc16c2550. it will power-up to be functionally equivalent to the 16c2450. the sc16c652b provides enhanced uart functions with 32-byte fifos, modem control interface, dma mode data transfer, and irda encoder/decoder. the dma mode data transfer is controlled by the fifo trigger levels and the txrd y and rxrd y signals. on-board status registers provide the user with error indications and operational status. system interrupts and modem control features may be tailored by software to meet speci?c user requirements. an internal loop-back capability allows on-board diagnostics. independent programmable baud rate generators are provided to select transmit and receive baud rates. the sc16c652b operates at 5 v, 3.3 v and 2.5 v and the industrial temperature range, and is available in plastic lqfp48 and very small (micro-uart) hvqfn32 packages. 2. features n 2 channel uart n 5 v, 3.3 v and 2.5 v operation n 5 v tolerant inputs n industrial temperature range ( - 40 c to +85 c) n pin and functionally compatible to 16c2450 in lqfp48 package, and software compatible with industry standard 16c450, 16c550, and sc16c650 n up to 5 mbit/s data rate at 5 v and 3.3 v, and 3 mbit/s at 2.5 v n 32-byte transmit fifo to reduce the bandwidth requirement of the external cpu n 32-byte receive fifo with error ?ags to reduce the bandwidth requirement of the external cpu n independent transmit and receive uart control n four selectable receive and transmit fifo interrupt trigger levels n automatic software (xon/xoff) and hardware ( r ts/ cts) ?ow control n programmable xon/xoff characters n software selectable baud rate generator n standard modem interface or infrared irda encoder/decoder interface n supports irda version 1.0 (up to 115.2 kbit/s) n sleep mode n standard asynchronous error and framing bits (start, stop, and parity overrun break) sc16c652b 5 v, 3.3 v and 2.5 v dual uart, 5 mbit/s (max.) with 32-byte fifos and infrared (irda) encoder/decoder rev. 04 1 september 2005 product data sheet
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 2 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder n transmit, receive, line status, and data set interrupts independently controlled n fully programmable character formatting: u 5-bit, 6-bit, 7-bit, or 8-bit characters u even, odd, or no-parity formats u 1, 1 1 2 , or 2-stop bit u baud generation (dc to 5 mbit/s) n false start-bit detection n complete status reporting capabilities n 3-state output ttl drive capabilities for bi-directional data bus and control bus n line break generation and detection n internal diagnostic capabilities: u loop-back controls for communications link fault isolation n prioritized interrupt system controls n modem control functions ( cts, r ts, dsr, dtr, ri, cd) 3. ordering information table 1: ordering information type number package name description version sc16c652bib48 lqfp48 plastic low pro?le quad ?at package; 48 leads; body 7 7 1.4 mm sot313-2 sc16c652bibs hvqfn32 plastic thermal enhanced very thin quad ?at package; no leads; 32 terminals; body 5 5 0.85 mm sot617-1
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 3 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 4. block diagram fig 1. block diagram of sc16c652b txa, txb rxa, rxb sc16c652b xtal2 xtal1 d0 to d7 ior iow reset 002aaa592 data b u s and control logic register select logic a0 to a2 csa csb interrupt control logic inta, intb txrdya, txrdyb rxrdya, rxrdyb clock and baud rate generator interconnect bus lines and control signals modem control logic dtra, dtrb rtsa, rtsb op2a, op2b ctsa, ctsb ria, rib cda, cdb dsra, dsrb receive shift register receive fifo register flow control logic flow control logic transmit shift register transmit fifo register ir decoder ir encoder
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 4 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 5. pinning information 5.1 pinning fig 2. pin con?guration for lqfp48 fig 3. pin con?guration for hvqfn32 sc16c652bib48 d5 reset d6 dtrb d7 dtra rxb rtsa rxa op2a txrdyb rxrdya txa inta txb intb op2b a0 csa a1 csb a2 n.c. n.c. xtal1 d4 xtal2 d3 iow d2 cdb d1 gnd d0 rxrdyb txrdya ior v cc dsrb ria rib cda rtsb dsra ctsb n.c. ctsa n.c. 002aaa593 1 2 3 4 5 6 7 8 9 10 11 12 36 35 34 33 32 31 30 29 28 27 26 25 13 14 15 16 17 18 19 20 21 22 23 48 47 46 45 44 43 42 41 40 39 38 37 24 002aaa865 sc16c652bibs transparent top view a2 op2b csa a1 txb a0 txa intb rxa inta rxb op2a d7 rtsa d6 reset csb xtal1 xtal2 iow gnd ior rtsb ctsb d5 d4 d3 d2 d1 d0 v cc ctsa 8 17 7 18 6 19 5 20 4 21 3 22 2 23 1 24 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 terminal 1 index area
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 5 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 5.2 pin description table 2: pin description symbol pin type description lqfp48 hvqfn32 a0 28 19 i address 0 select bit. internal register address selection. a1 27 18 i address 1 select bit. internal register address selection. a2 26 17 i address 2 select bit. internal register address selection. cd a40 - i carrier detect (active low). these inputs are associated with individual uart channels a through b. a logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. cdb 16 - csa 10 8 i chip select a, b (active low). this function is associated with individual channels, a through b. these pins enable data transfers between the user cpu and the sc16c652b for the channel(s) addressed. individual uart sections (a, b) are addressed by providing a logic 0 on the respective csa, csb pin. csb 11 9 ctsa 38 25 i clear to send (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on the cts pin indicates the modem or data set is ready to accept transmit data from the sc16c652b. status can be tested by reading msr[4]. this pin has no effect on the uarts transmit or receive operation. ctsb 23 16 dsra 39 - i data set ready (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the uart. this pin has no effect on the uarts transmit or receive operation. dsrb 20 - dtra 34 - o data terminal ready (active low). these outputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates that the sc16c652b is powered-on and ready. this pin can be controlled via the modem control register. writing a logic 1 to mcr[0] will set the dtr output to logic 0, enabling the modem. this pin will be a logic 1 after writing a logic 0 to mcr[0], or after a reset. this pin has no effect on the uarts transmit or receive operation. dtrb 35 - d0 44 27 i/o data bus (bi-directional). these pins are the 8-bit, 3-state data bus for transferring information to or from the controlling cpu. d0 is the least signi?cant bit and the ?rst data bit in a transmit or receive serial data stream. d1 45 28 d2 46 29 d3 47 30 d4 48 31 d5 1 32 d6 2 1 d7 3 2 gnd 17 13 i signal and power ground. inta 30 21 o interrupt a, b (3-state). this function is associated with individual channel interrupts, inta, intb. inta, intb are enabled when mcr bit 3 is set to a logic 1, interrupts are enabled in the interrupt enable register (ier), and is active when an interrupt condition exists. interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status ?ag is detected. intb 29 20 ior 19 14 i read strobe (active low strobe). a logic 0 transition on this pin will load the contents of an internal register de?ned by address bits a0 to a2 onto the sc16c652b data bus (d0 to d7) for access by external cpu.
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 6 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder io w15 12 i write strobe (active low strobe). a logic 0 transition on this pin will transfer the contents of the data bus (d0 to d7) from the external cpu to an internal register that is de?ned by address bits a0 to a2. op2a 32 22 o output 2 (user-de?ned). this function is associated with individual channels, a through b. the state at these pin(s) are de?ned by the user and through mcr register bit 3. inta, intb are set to the active mode and op2 to logic 0 when mcr[3] is set to a logic 1. inta, intb are set to the 3-state mode and op2 to a logic 1 when mcr[3] is set to a logic 0 (see t ab le 20 modem control register bits descr iption , bit 3). since these bits control both the inta, intb operation and op2 outputs, only one function should be used at one time, int or op2. op2b 9 7 reset 36 24 i reset (active high). a logic 1 on this pin will reset the internal registers and all the outputs. the uart transmitter output and the receiver input will be disabled during reset time. (see section 7.11 sc16c652b e xter nal reset condition for initialization details.) ria 41 - i ring indicator (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. a logic 1 transition on this input pin will generate an interrupt. rib 21 - r tsa 33 23 o request to send (active low). these outputs are associated with individual uart channels, a through b. a logic 0 on the r ts pin indicates the transmitter has data ready and waiting to send. writing a logic 1 in the modem control register mcr[1] will set this pin to a logic 0, indicating data is available. after a reset this pin will be set to a logic 1. this pin has no effect on the uarts transmit or receive operation. r tsb 22 15 rxa 5 4 i receive data a, b. these inputs are associated with individual serial channel data to the sc16c652b receive input circuits, a through b. the rx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. during the local loop-back mode, the rx input pin is disabled and tx data is connected to the uart rx input, internally. rxb 4 3 rxrd y a31 - o receive ready a, b (active low). this function provides the rx fifo/rhr status for individual receive channels (a to b). rxrd yn is primarily intended for monitoring dma mode 1 transfers for the receive data fifos. a logic 0 indicates there is a receive data to read/upload, that is, receive ready status with one or more rx characters available in the fifo/rhr. this pin is a logic 1 when the fifo/rhr is empty or when the programmed trigger level has not been reached. this signal can also be used for single mode transfers (dma mode 0). rxrd yb 18 - txa 7 5 o transmit data a, b. these outputs are associated with individual serial transmit channel data from the sc16c652b. the tx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. during the local loop-back mode, the tx output pin is disabled and tx data is internally connected to the uart rx input. txb 8 6 txrd y a43 - o transmit ready a, b (active low). these outputs provide the tx fifo/thr status for individual transmit channels (a to b). txrd yn is primarily intended for monitoring dma mode 1 transfers for the transmit data fifos. an individual channels txrd y a, txrd yb buffer ready status is indicated by logic 0, that is, at lease one location is empty and available in the fifo or thr. this pin goes to a logic 1 (dma mode 1) when there are no more empty locations in the fifo or thr. this signal can also be used for single mode transfers (dma mode 0). txrd yb 6 - table 2: pin description continued symbol pin type description lqfp48 hvqfn32
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 7 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 6. functional description the sc16c652b provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. these functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. synchronization for the serial data stream is accomplished by adding start and stop bits to the transmit data to form a data character (character orientated protocol). data integrity is insured by attaching a parity bit to the data character. the parity bit is checked by the receiver for any transmission bit errors. the electronic circuitry to provide all these functions is fairly complex, especially when manufactured on a single integrated silicon chip. the sc16c652b represents such an integration with greatly enhanced features. the sc16c652b is fabricated with an advanced cmos process. the sc16c652b is an upward solution that provides a dual uart capability with 32 bytes of transmit and receive fifo memory, instead of 16 bytes for the 16c2550 and none in the 16c2450. the sc16c652b is designed to work with high speed modems and shared network environments that require fast data processing time. increased performance is realized in the sc16c652b by the transmit and receive fifos. this allows the external processor to handle more networking tasks within a given time. in addition, the four selectable receive and transmit fifo trigger interrupt levels are uniquely provided for maximum data throughput performance especially when operating in a multi-channel environment. the fifo memory greatly reduces the bandwidth requirement of the external controlling cpu, increases performance, and reduces power consumption. the sc16c652b is capable of operation up to 5 mbit/s with a 80 mhz clock. with a crystal or external clock input of 7.3728 mhz, the user can select data rates up to 460.8 kbit/s. the rich feature set of the sc16c652b is available through internal registers. selectable receive and transmit fifo trigger levels, selectable tx and rx baud rates, and modem interface controls are all standard features. following a power-on reset or an external reset, the sc16c652b is software compatible with the previous generation, sc16c2550 and st16c2450. v cc 42 26 i power supply input. xtal1 13 10 i crystal or external clock input. functions as a crystal input or as an external clock input. a crystal can be connected between this pin and xtal2 to form an internal oscillator circuit. this con?guration requires an external 1 m w resistor between the xtal1 and xtal2 pins. alternatively, an external clock can be connected to this pin to provide custom data rates (see section 6.8 prog r ammab le baud r ate gener ator ). see figure 4 . xtal2 14 11 o output of the crystal oscillator or buffered clock. (see also xtal1.) crystal oscillator output or buffered clock output. should be left open if an external clock is connected to xtal1. for extended frequency operation, this pin should be tied to v cc via a 2 k w resistor. table 2: pin description continued symbol pin type description lqfp48 hvqfn32
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 8 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 6.1 uart a-b functions the uart provides the user with the capability to bi-directionally transfer information between an external cpu, the sc16c652b package, and an external serial device. a logic 0 on chip select pins csa and/or csb allows the user to con?gure, send data, and/or receive data via uart channels a-b. individual channel select functions are shown in t ab le 3 . 6.2 internal registers the sc16c652b provides two sets of internal registers (a and b) consisting of 17 registers each for monitoring and controlling the functions of each channel of the uart. these registers are shown in t ab le 4 . the uart registers function as data holding registers (thr/rhr), interrupt status and control registers (ier/isr), a fifo control register (fcr), line status and control registers (lcr/lsr), modem status and control registers (mcr/msr), programmable data rate (clock) control registers (dll/dlm), and a user accessible scratchpad register (spr). [1] these registers are accessible only when lcr[7] is a logic 0. [2] these registers are accessible only when lcr[7] is a logic 1. [3] enhanced feature register, xon1/xon2 and xoff1/xoff2 are accessible only when the lcr is set to bfh. table 3: serial port selection chip select function csa- csb = 1 none csa = 0 uart channel a csb = 0 uart channel b table 4: internal registers decoding a2 a1 a0 read mode write mode general register set (thr/rhr, ier/isr, mcr/msr, fcr, lsr, spr) [1] 0 0 0 receive holding register transmit holding register 0 0 1 interrupt enable register interrupt enable register 0 1 0 interrupt status register fifo control register 0 1 1 line control register line control register 1 0 0 modem control register modem control register 1 0 1 line status register n/a 1 1 0 modem status register n/a 1 1 1 scratchpad register scratchpad register baud rate register set (dll/dlm) [2] 0 0 0 lsb of divisor latch lsb of divisor latch 0 0 1 msb of divisor latch msb of divisor latch enhanced register set (efr, xon1/xon2, xoff1/xoff2) [3] 0 1 0 enhanced feature register enhanced feature register 1 0 0 xon1 word xon1 word 1 0 1 xon2 word xon2 word 1 1 0 xoff1 word xoff1 word 1 1 1 xoff2 word xoff2 word
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 9 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 6.3 fifo operation the 32-byte transmit and receive data fifos are enabled by the fifo control register bit 0 (fcr[0]). with 16c2550 devices, the user can set the receive trigger level, but not the transmit trigger level. the sc16c652b provides independent trigger levels for both receiver and transmitter. to remain compatible with sc16c2550, the transmit interrupt trigger level is set to 16 following a reset. it should be noted that the user can set the transmit trigger levels by writing to the fcr, but activation will not take place until efr[4] is set to a logic 1. the receiver fifo section includes a time-out function to ensure data is delivered to the external cpu. an interrupt is generated whenever the receive holding register (rhr) has not been read following the loading of a character or the receive trigger level has not been reached. 6.4 hardware ?ow control when automatic hardware ?ow control is enabled, the sc16c652b monitors the cts pin for a remote buffer over?ow indication and controls the r ts pin for local buffer over?ows. automatic hardware ?ow control is selected by setting efr[6] (rts) and efr[7] (cts) to a logic 1. if cts transitions from a logic 0 to a logic 1 indicating a ?ow control request, isr[5] will be set to a logic 1 (if enabled via ier[7:6]), and the sc16c652b will suspend tx transmissions as soon as the stop bit of the character in process is shifted out. transmission is resumed after the cts input returns to a logic 0, indicating more data may be sent. with the auto-rts function enabled, an interrupt is generated when the receive fifo reaches the programmed trigger level. the r ts pin will not be forced to a logic 1 (rts off), until the receive fifo reaches the next trigger level. however, the r ts pin will return to a logic 0 after the data buffer (fifo) is unloaded to the next trigger level below the programmed trigger level. however, under the above described conditions, the sc16c652b will continue to accept data until the receive fifo is full. 6.5 software ?ow control when software ?ow control is enabled, the sc16c652b compares one or two sequential receive data characters with the programmed xon or xoff character value(s). if received character(s) match the programmed xoff values, the sc16c652b will halt transmission (tx) as soon as the current character(s) has completed transmission. when a match occurs, the receive ready (if enabled via xoff ier[5]) ?ags will be set and the interrupt output pin (if receive interrupt is enabled) will be activated. following a suspension due to a match of the xoff characters values, the sc16c652b will monitor the receive data stream for a match to the xon1/xon2 character value(s). if a match is found, the sc16c652b will resume operation and clear the ?ags (isr[4]). table 5: flow control mechanism selected trigger level (characters) int pin activation negate r ts or send xoff assert r ts or send xon rx tx 881680 16 16 8 16 7 24 24 24 24 15 28 28 30 28 23
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 10 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder reset initially sets the contents of the xon/xoff 8-bit ?ow control registers to a logic 0. following reset, the user can write any xon/xoff value desired for software ?ow control. different conditions can be set to detect xon/xoff characters and suspend/resume transmissions. when double 8-bit xon/xoff characters are selected, the sc16c652b compares two consecutive receive characters with two software ?ow control 8-bit values (xon1, xon2, xoff1, xoff2) and controls tx transmissions accordingly. under the above described ?ow control mechanisms, ?ow control characters are not placed (stacked) in the user accessible rx data buffer or fifo. when using a software ?ow control the xon/xoff characters cannot be used for data transfer. in the event that the receive buffer is over?lling and ?ow control needs to be executed, the sc16c652b automatically sends an xoff message (when enabled) via the serial tx output to the remote modem. the sc16c652b sends the xoff1/xoff2 characters as soon as received data passes the programmed trigger level. to clear this condition, the sc16c652b will transmit the programmed xon1/xon2 characters as soon as receive data drops below the programmed trigger level. 6.6 special feature software ?ow control a special feature is provided to detect an 8-bit character when efr[5] is set. when 8-bit character is detected, it will be placed on the user-accessible data stack along with normal incoming rx data. this condition is selected in conjunction with efr[3:0]. note that software ?ow control should be turned off when using this special mode by setting efr[3:0] to a logic 0. the sc16c652b compares each incoming receive character with xoff2 data. if a match exists, the received data will be transferred to the fifo, and isr[4] will be set to indicate detection of a special character. although t ab le 9 sc16c652b inter nal registers shows each x-register with eight bits of character information, the actual number of bits is dependent on the programmed word length. line control register bits lcr[1:0] de?ne the number of character bits, that is, either 5 bits, 6 bits, 7 bits or 8 bits. the word length selected by lcr[1:0] also determine the number of bits that will be used for the special character comparison. bit 0 in the x-registers corresponds with the lsb bit for the receive character. 6.7 hardware/software and time-out interrupts the interrupts are enabled by ier[3:0]. care must be taken when handling these interrupts. following a reset, if interrupt enable register (ier) bit 1 = 1, the sc16c652b will issue a transmit holding register interrupt. this interrupt must be serviced prior to continuing operations. the isr provides the current singular highest priority interrupt only. it could be noted that cts and rts interrupts have lowest interrupt priority. a condition can exist where a higher priority interrupt may mask the lower priority cts/rts interrupt(s). only after servicing the higher pending interrupt will the lower priority cts/rts interrupt(s) be re?ected in the status register. servicing the interrupt without investigating further interrupt conditions can result in data errors. when two interrupt conditions have the same priority, it is important to service these interrupts correctly. receive data ready and receive time out have the same interrupt priority (when enabled by ier[0]). the receiver issues an interrupt after the number of characters have reached the programmed trigger level. in this case, the sc16c652b fifo may hold more characters than the programmed trigger level. following the removal of a data byte, the user should re-check lsr[0] for additional characters. a receive
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 11 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder time out will not occur if the receive fifo is empty. the time-out counter is reset at the center of each stop bit received or each time the receive holding register (rhr) is read. the actual time-out value is 4 character time, including data information length, start bit, parity bit, and the size of stop bit, that is, 1 , 1.5 , or 2 bit times. 6.8 programmable baud rate generator the sc16c652b supports high speed modem technologies that have increased input data rates by employing data compression schemes. for example, a 33.6 kbit/s modem that employs data compression may require a 115.2 kbit/s input data rate. a 128.0 kbit/s isdn modem that supports data compression may need an input data rate of 460.8 kbit/s. the sc16c652b can support a standard data rate of 921.6 kbit/s. a single baud rate generator is provided for the transmitter and receiver, allowing independent tx/rx channel control. the programmable baud rate generator is capable of operating with a frequency of up to 80 mhz. to obtain maximum data rate, it is necessary to use full rail swing on the clock input. the sc16c652b can be con?gured for internal or external clock operation. for internal clock oscillator operation, an industry standard microprocessor crystal is connected externally between the xtal1 and xtal2 pins. alternatively, an external clock can be connected to the xtal1 pin to clock the internal baud rate generator for standard or custom rates (see t ab le 6 ). the generator divides the input 16 clock by any divisor from 1 to (2 16 - 1). the sc16c652b divides the basic external clock by 16. the basic 16 clock provides table rates to support standard and custom applications using the same system design. the rate table is con?gured via the dll and dlm internal register functions. customized baud rates can be achieved by selecting the proper divisor values for the msb and lsb sections of baud rate generator. programming the baud rate generator registers dlm (msb) and dll (lsb) provides a user capability for selecting the desired ?nal baud rate. the example in t ab le 6 shows the selectable baud rate table available when using a 1.8432 mhz external clock input. fig 4. crystal oscillator connection 002aaa870 c2 47 pf xtal1 xtal2 x1 1.8432 mhz c1 22 pf c2 33 pf xtal1 xtal2 1.5 k w x1 1.8432 mhz c1 22 pf
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 12 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 6.9 dma operation the sc16c652b fifo trigger level provides additional ?exibility to the user for block mode operation. the user can optionally operate the transmit and receive fifos in the dma mode (fcr[3]). the dma mode affects the state of the rxrd y and txrd y output pins. t ab le 7 and t ab le 8 show this. 6.10 loop-back mode the internal loop-back capability allows on-board diagnostics. in the loop-back mode, the normal modem interface pins are disconnected and recon?gured for loop-back internally (see figure 5 ). mcr[3:0] register bits are used for controlling loop-back diagnostic testing. in the loop-back mode, the transmitter output (tx) and the receiver input (rx) are disconnected from their associated interface pins, and instead are connected together internally. the cts, dsr, cd, and ri are disconnected from their normal modem control inputs pins, and instead are connected internally to r ts, dtr, mcr[3] ( op2) and table 6: baud rate generator programming table using a 1.8432 mhz clock output baud rate (bit/s) output 16 clock divisor (decimal) output 16 clock divisor (hex) dlm program value (hex) dll program value (hex) 50 2304 900 09 00 75 1536 600 06 00 110 1047 417 04 17 150 768 300 03 00 300 384 180 01 80 600 192 c0 00 c0 1200 96 60 00 60 2400 48 30 00 30 3600 32 20 00 20 4800 24 18 00 18 7200 16 10 00 10 9600 12 0c 00 0c 19.2 k 6 06 00 06 38.4 k 3 03 00 03 57.6 k 2 02 00 02 115.2 k 1 01 00 01 table 7: effect of dma mode on state of rxrd y pin non-dma mode dma mode 1 = fifo empty 0-to-1 transition when fifo empties 0 = at least 1 byte in fifo 1-to-0 transition when fifo reaches trigger level, or time-out occurs table 8: effect of dma mode on state of txrd y pin non-dma mode dma mode 1 = at least 1 byte in fifo 0-to-1 transition when fifo becomes full 0 = fifo empty 1-to-0 transition when fifo goes below trigger level
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 13 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder mcr[2] ( op1). loop-back test data is entered into the transmit holding register via the user data bus interface, d[7:0]. the transmit uart serializes the data and passes the serial data to the receive uart via the internal loop-back connection. the receive uart converts the serial data back into parallel data that is then made available at the user data interface d[7:0]. the user optionally compares the received data to the initial transmitted data for verifying error-free operation of the uart tx/rx circuits. in this mode, the receiver and transmitter interrupts are fully operational. the modem control interrupts are also operational. fig 5. internal loop-back mode diagram ctsa, ctsb transmit fifo registers txa, txb receive shift register receive fifo registers rxa, rxb interconnect bus lines and control signals sc16c652b transmit shift register xtal2 xtal1 002aaa594 flow control logic data b u s and control logic register select logic interrupt control logic clock and baud rate generator modem control logic flow control logic rtsa, rtsb dsra, dsrb dtra, dtrb ria, rib (op1a, op1b) cda, cdb (op2a, op2b) mcr[4] = 1 ir encoder ir decoder inta, intb txrdya, txrdyb rxrdya, rxrdyb d0 to d7 ior iow reset a0 to a2 csa csb
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 14 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 6.11 sleep mode sleep mode is an enhanced feature of the sc16c652b uart. it is enabled when efr[4], the enhanced functions bit, is set and when ier[4] of both channels are set. sleep mode is entered when: ? modem input pins are not toggling. ? the serial data input line, rx, is idle (logic high). ? the tx fifo and tx shift register are empty. ? there are no interrupts pending. remark: sleep mode will not be entered if there is data in the rx fifo. in sleep mode, the uart clock and baud rate clock are stopped. since most registers are clocked using these clocks, the power consumption is greatly reduced. remark: writing to the divisor latches, dll and dlh, to set the baud clock, must not be done during sleep mode. therefore, it is advisable to disable sleep mode using ier[4] before writing to dll or dlh. sc16c652b resumes normal operation by any of the following: ? receives a start bit on rxa/rxb pin. ? data is loaded into transmit fifo. ? a change of state on any of the modem input pins if the device is awakened by one of the conditions described above, it will return to the sleep mode automatically after the last character is transmitted or read by the user. the device will stay in sleep mode until it is disabled by setting any channels ier bit 4 to a logic 0.
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 15 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7. register descriptions t ab le 9 details the assigned bit functions for the sc16c652b internal registers. the assigned bit functions are more fully de?ned in section 7.1 through section 7.11 . [1] the value shown in represents the registers initialized hex value; x = not applicable. [2] this bit is only accessible when efr[4] is set. [3] accessible only when lcr[7] is logic 0. [4] baud rate registers accessible only when lcr[7] is logic 1. [5] enhanced feature register, xon1/xon2 and xoff1/xoff2 are accessible only when lcr is set to bfh. table 9: sc16c652b internal registers a2 a1 a0 register default [1] bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 general register set [3] 0 0 0 rhr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 thr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 1 ier 00 cts interrupt [2] rts interrupt [2] xoff interrupt [2] sleep mode [2] modem status interrupt rx receive line status interrupt transmit holding register interrupt receive holding register 0 1 0 fcr 00 rcvr trigger (msb) rcvr trigger (lsb) tx trigger (msb) [2] tx trigger (lsb) [2] dma mode select xmit fifo reset rcvr fifo reset fifos enable 0 1 0 isr 01 fifos enabled fifos enabled int priority bit 4 int priority bit 3 int priority bit 2 int priority bit 1 int priority bit 0 int status 0 1 1 lcr 00 divisor latch enable set break set parity even parity parity enable stop bits word length bit 1 word length bit 0 1 0 0 mcr 00 clock select [2] irda enable 0 loop back op2/int enable ( op1) r ts dtr 1 0 1 lsr 60 fifo data error thr and tsr empty thr empty break interrupt framing error parity error overrun error receive data ready 1 1 0 msr x0 cd ri dsr cts d cd d ri d dsr d cts 1 1 1 spr ff bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 special register set [4] 0 0 0 dll xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 1 dlm xx bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 enhanced register set [5] 0 1 0 efr 00 auto cts auto rts special character select enable ier[7:4], isr[5:4], fcr[5:4], mcr[7:5] cont-3 tx, rx control cont-2 tx, rx control cont-1 tx, rx control cont-0 tx, rx control 1 0 0 xon-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 1 0 1 xon-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 1 1 0 xoff-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 1 1 1 xoff-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 16 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.1 transmit (thr) and receive (rhr) holding registers the serial transmitter section consists of an 8-bit transmit hold register (thr) and transmit shift register (tsr). the status of the thr is provided in the line status register (lsr). writing to the thr transfers the contents of the data bus (d7 to d0) to the tsr and uart via the thr, providing that the thr is empty. the thr empty ?ag in the lsr will be set to a logic 1 when the transmitter is empty or when data is transferred to the tsr. note that a write operation can be performed when the thr empty ?ag is set (logi c 0 = at least one byte in fifo/thr, logic 1 = fifo/thr empty). the serial receive section also contains an 8-bit receive holding register (rhr) and a receive serial shift register (rsr). receive data is removed from the sc16c652b and receive fifo by reading the rhr. the receive section provides a mechanism to prevent false starts. on the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at the 16 clock rate. after 7 1 2 clocks, the start bit time should be shifted to the center of the start bit. at this time the start bit is sampled, and if it is still a logic 0 it is validated. evaluating the start bit in this manner prevents the receiver from assembling a false character. receiver status codes will be posted in the lsr. 7.2 interrupt enable register (ier) the interrupt enable register (ier) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. these interrupts would normally be seen on the inta, intb output pins. table 10: interrupt enable register bits description bit symbol description 7 ier[7] cts interrupt. logic 0 = disable the cts interrupt (normal default condition) logic 1 = enable the cts interrupt. the sc16c652b issues an interrupt when the cts pin transitions from a logic 0 to a logic 1. 6 ier[6] rts interrupt. logic 0 = disable the rts interrupt (normal default condition) logic 1 = enable the rts interrupt. the sc16c652b issues an interrupt when the rts pin transitions from a logic 0 to a logic 1. 5 ier[5] xoff interrupt. logic 0 = disable the software ?ow control, receive xoff interrupt (normal default condition) logic 1 = enable the software ?ow control, receive xoff interrupt. 4 ier[4] sleep mode. logic 0 = disable sleep mode (normal default condition) logic 1 = enable sleep mode 3 ier[3] modem status interrupt. this interrupt will be issued whenever there is a modem status change as re?ected in msr[3:0]. logic 0 = disable the modem status register interrupt (normal default condition) logic 1 = enable the modem status register interrupt 2 ier[2] receive line status interrupt. this interrupt will be issued whenever a receive data error condition exists as re?ected in lsr[4:1]. logic 0 = disable the receiver line status interrupt (normal default condition) logic 1 = enable the receiver line status interrupt
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 17 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.2.1 ier versus transmit/receive fifo interrupt mode operation when the receive fifo (fcr[0] = logic 1), and receive interrupts (ier[0] = logic 1) are enabled, the receive interrupts and register status will re?ect the following: ? the receive rxrdy interrupt (level 2 isr interrupt) is issued to the external cpu when the receive fifo has reached the programmed trigger level. it will be cleared when the receive fifo drops below the programmed trigger level. ? receive fifo status will also be re?ected in the user accessible isr register when the receive fifo trigger level is reached. both the isr register receive status bit and the interrupt will be cleared when the fifo drops below the trigger level. ? the receive data ready bit (lsr[0]) is set as soon as a character is transferred from the shift register (rsr) to the receive fifo. it is reset when the fifo is empty. ? when the transmit fifo and interrupts are enabled, an interrupt is generated when the transmit fifo is empty due to the unloading of the data by the tsr and uart for transmission via the transmission media. the interrupt is cleared either by reading the isr, or by loading the thr with new data characters. 7.2.2 ier versus receive/transmit fifo polled mode operation when fcr[0] = logic 1, resetting ier[3:0] enables the sc16c652b in the fifo polled mode of operation. in this mode, interrupts are not generated and the user must poll the lsr register for tx and/or rx data status. since the receiver and transmitter have separate bits in the lsr either or both can be used in the polled mode by selecting respective transmit or receive control bit(s). ? lsr[0] will be a logic 1 as long as there is one byte in the receive fifo. ? lsr[4:1] will provide the type of receive errors, or a receive break, if encountered. ? lsr[5] will indicate when the transmit fifo is empty. ? lsr[6] will indicate when both the transmit fifo and transmit shift register are empty. ? lsr[7] will show if any fifo data errors occurred. 1 ier[1] transmit holding register interrupt. in the 16c450 mode, this interrupt will be issued whenever the thr is empty, and is associated with lsr[5]. in the fifo modes, this interrupt will be issued whenever the fifo is empty. logic 0 = disable the transmit holding register empty (txrdy) interrupt (normal default condition) logic 1 = enable the txrdy (isr level 3) interrupt 0 ier[0] receive holding register. in the 16c450 mode, this interrupt will be issued when the rhr has data, or is cleared when the rhr is empty. in the fifo mode, this interrupt will be issued when the fifo has reached the programmed trigger level or is cleared when the fifo drops below the trigger level. logic 0 = disable the receiver ready (isr level 2, rxrdy) interrupt (normal default condition) logic 1 = enable the rxrdy (isr level 2) interrupt table 10: interrupt enable register bits description continued bit symbol description
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 18 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.3 fifo control register (fcr) this register is used to enable the fifos, clear the fifos, set the receive fifo trigger levels, and select the dma mode. 7.3.1 dma mode 7.3.1.1 mode 0 (fcr bit 3 = 0) set and enable the interrupt for each single transmit or receive operation, and is similar to the 16c450 mode. transmit ready ( txrd y) will go to a logic 0 whenever the fifo (thr, if fifo is not enabled) is empty. receive ready ( rxrd y) will go to a logic 0 whenever the receive holding register (rhr) is loaded with a character. 7.3.1.2 mode 1 (fcr bit 3 = 1) set and enable the interrupt in a block mode operation. the transmit interrupt is set when the transmit fifo is below the programmed trigger level. the receive interrupt is set when the receive fifo ?lls to the programmed trigger level. however, the fifo continues to ?ll regardless of the programmed level until the fifo is full. rxrd y remains a logic 0 as long as the fifo ?ll level is above the programmed trigger level. 7.3.2 fifo mode table 11: fifo control register bits description bit symbol description 7:6 fcr[7:6] rcvr trigger. these bits are used to set the trigger level for the receive fifo interrupt. an interrupt is generated when the number of characters in the fifo equals the programmed trigger level. however, the fifo will continue to be loaded until it is full. refer to t ab le 12 . 5:4 fcr[5:4] logic 0 or cleared is the default condition; tx trigger level = 16. these bits are used to set the trigger level for the transmit fifo interrupt. the sc16c652b will issue a transmit empty interrupt when the number of characters in fifo drops below the selected trigger level. refer to t ab le 13 . 3 fcr[3] dma mode select. logic 0 = set dma mode 0 (normal default condition) logic 1 = set dma mode 1 transmit operation in mode 0: when the sc16c652b is in the 16c450 mode (fifos disabled; fcr[0] = logic 0) or in the fifo mode (fifos enabled; fcr[0] = logic 1; fcr[3] = logic 0), and when there are no characters in the transmit fifo or transmit holding register, the txrd y pin will be a logic 0. once active, the txrd y pin will go to a logic 1 after the ?rst character is loaded into the transmit holding register. receive operation in mode 0: when the sc16c652b is in 16c450 mode, or in the fifo mode (fcr[0] = logic 1; fcr[3] = logic 0) and there is at least one character in the receive fifo, the rxrd y pin will be a logic 0. once active, the rxrd y pin will go to a logic 1 when there are no more characters in the receiver.
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 19 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 3 (cont.) transmit operation in mode 1: when the sc16c652b is in fifo mode (fcr[0] = logic 1; fcr[3] = logic 1), the txrd y pin will be a logic 1 when the transmit fifo is completely full. it will be a logic 0 when the trigger level has been reached. receive operation in mode 1: when the sc16c652b is in fifo mode (fcr[0] = logic 1; fcr[3] = logic 1) and the trigger level has been reached, or a receive time-out has occurred, the rxrd y pin will go to a logic 0. once activated, it will go to a logic 1 after there are no more characters in the fifo. 2 fcr[2] xmit fifo reset. logic 0 = no fifo transmit reset (normal default condition) logic 1 = clears the contents of the transmit fifo and resets the fifo counter logic (the transmit shift register is not cleared or altered). this bit will return to a logic 0 after clearing the fifo. 1 fcr[1] rcvr fifo reset. logic 0 = no fifo receive reset (normal default condition) logic 1 = clears the contents of the receive fifo and resets the fifo counter logic (the receive shift register is not cleared or altered). this bit will return to a logic 0 after clearing the fifo. 0 fcr[0] fifo enable. logic 0 = disable the transmit and receive fifo (normal default condition) logic 1 = enable the transmit and receive fifo. this bit must be a 1 when other fcr bits are written to, or they will not be programmed. table 12: rcvr trigger levels fcr[7] fcr[6] rx fifo trigger level (bytes) 008 0116 1024 1128 table 13: tx fifo trigger levels fcr[5] fcr[4] tx fifo trigger level (bytes) 0016 018 1024 1130 table 11: fifo control register bits description continued bit symbol description
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 20 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.4 interrupt status register (isr) the sc16c652b provides six levels of prioritized interrupts to minimize external software interaction. the interrupt status register (isr) provides the user with six interrupt status bits. performing a read cycle on the isr will provide the user with the highest pending interrupt level to be serviced. no other interrupts are acknowledged until the pending interrupt is serviced. a lower level interrupt may be seen after servicing the higher level interrupt and re-reading the interrupt status bits. t ab le 14 interr upt source shows the data values (bits 5:0) for the six prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels. table 14: interrupt source priority level isr[5] isr[4] isr[3] isr[2] isr[1] isr[0] source of the interrupt 1 000110 lsr (receiver line status register) 2 000100 rxrdy (received data ready) 2 001100 rxrdy (receive data time-out) 3 000010 txrdy (transmitter holding register empty) 4 000000 msr (modem status register) 5 010000 rxrdy (received xoff signal)/ special character 6 100000cts, rts change of state table 15: interrupt status register bits description bit symbol description 7:6 isr[7:6] fifos enabled. these bits are set to a logic 0 when the fifos are not being used in the 16c450 mode. they are set to a logic 1 when the fifos are enabled in the sc16c652b mode. logic 0 or cleared = default condition 5:4 isr[5:4] int priority bits 4:3. these bits are enabled when efr[4] is set to a logic 1. isr[4] indicates that matching xoff character(s) have been detected. isr[5] indicates that cts, rts have been generated. note that once set to a logic 1, the isr[4] bit will stay a logic 1 until xon character(s) are received. logic 0 or cleared = default condition 3:1 isr[3:1] int priority bits 2:0. these bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see t ab le 14 ). logic 0 or cleared = default condition 0 isr[0] int status. logic 0 = an interrupt is pending and the isr contents may be used as a pointer to the appropriate interrupt service routine logic 1 = no interrupt pending (normal default condition)
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 21 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.5 line control register (lcr) the line control register is used to specify the asynchronous data communication format. the word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register. table 16: line control register bits description bit symbol description 7 lcr[7] divisor latch enable. the internal baud rate counter latch and enhanced feature mode enable. logic 0 = divisor latch disabled (normal default condition) logic 1 = divisor latch enabled 6 lcr[6] set break. when enabled, the break control bit causes a break condition to be transmitted (the tx output is forced to a logic 0 state). this condition exists until disabled by setting lcr[6] to a logic 0. logic 0 = no tx break condition (normal default condition) logic 1 = forces the transmitter output (tx) to a logic 0 for alerting the remote receiver to a line break condition 5:3 lcr[5:3] programs the parity conditions (see t ab le 17 ). 2 lcr[2] stop bits. the length of stop bit is speci?ed by this bit in conjunction with the programmed word length (see t ab le 18 ). logic 0 or cleared = default condition 1:0 lcr[1:0] word length bits 1, 0. these two bits specify the word length to be transmitted or received (see t ab le 19 ). logic 0 or cleared = default condition table 17: lcr[5:3] parity selection lcr[5] lcr[4] lcr[3] parity selection x x 0 no parity x 0 1 odd parity 0 1 1 even parity 0 0 1 forced parity 1 1 1 1 forced parity 0 table 18: lcr[2] stop bit length lcr[2] word length (bits) stop bit length (bit times) 0 5, 6, 7, 8 1 15 1 1 2 1 6, 7, 8 2 table 19: lcr[1:0] word length lcr[1] lcr[0] word length (bits) 00 5 01 6 10 7 11 8
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 22 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.6 modem control register (mcr) this register controls the interface with the modem or a peripheral device. table 20: modem control register bits description bit symbol description 7 mcr[7] clock select logic 0 = divide-by-1 clock input logic 1 = divide-by-4 clock input 6 mcr[6] ir enable (see figure 17 ). logic 0 = enable the standard modem receive and transmit input/output interface (normal default condition) logic 1 = enable infrared irda receive and transmit inputs/outputs. while in this mode, the tx/rx output/inputs are routed to the infrared encoder/decoder. the data input and output levels will conform to the irda infrared interface requirement. as such, while in this mode, the infrared tx output will be a logic 0 during idle data conditions. 5 mcr[5] reserved; set to 0. 4 mcr[4] loop-back. enable the local loop-back mode (diagnostics). in this mode the transmitter output ( tx) and the receiver input ( rx), cts, dsr, cd, and ri are disconnected from the sc16c652b i/o pins. internally the modem data and control pins are connected into a loop-back data con?guration (see figure 5 ). in this mode, the receiver and transmitter interrupts remain fully operational. the modem control interrupts are also operational, but the interrupts sources are switched to the lower four bits of the modem control. interrupts continue to be controlled by the ier register. logic 0 = disable loop-back mode (normal default condition) logic 1 = enable local loop-back mode (diagnostics) 3 mcr[3] op2/int enable logic 0 = forces int (a, b) outputs to the 3-state mode and sets op2 to a logic 1 (normal default condition) logic 1 = forces the int (a, b) outputs to the active mode and sets op2 to a logic 0 2 mcr[2] ( op1). op1a/ op1b are not available as an external signal in the sc16c652b. this bit is instead used in the loop-back mode only. in the loop-back mode, this bit is used to write the state of the modem ri interface signal. 1 mcr[1] r ts logic 0 = force r ts output to a logic 1 (normal default condition) logic 1 = force r ts output to a logic 0 0 mcr[0] dtr logic 0 = force dtr output to a logic 1 (normal default condition) logic 1 = force dtr output to a logic 0
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 23 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.7 line status register (lsr) this register provides the status of data transfers between the sc16c652b and the cpu. table 21: line status register bits description bit symbol description 7 lsr[7] fifo data error. logic 0 = no error (normal default condition) logic 1 = at least one parity error, framing error or break indication is in the current fifo data. this bit is cleared when there are no remaining error ?ags associated with the remaining data in the fifo. 6 lsr[6] thr and tsr empty. this bit is the transmit empty indicator. this bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. it is reset to logic 0 whenever either the thr or tsr contains a data character. in the fifo mode, this bit is set to 1 whenever the transmit fifo and transmit shift register are both empty. 5 lsr[5] thr empty. this bit is the transmit holding register empty indicator. this bit indicates that the uart is ready to accept a new character for transmission. in addition, this bit causes the uart to issue an interrupt to cpu when the thr interrupt enable is set. the thr bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. the bit is reset to a logic 0 concurrently with the loading of the transmitter holding register by the cpu. in the fifo mode, this bit is set when the transmit fifo is empty; it is cleared when at least 1 byte is written to the transmit fifo. 4 lsr[4] break interrupt. logic 0 = no break condition (normal default condition) logic 1 = the receiver received a break signal (rx was a logic 0 for one character frame time). in the fifo mode, only one break character is loaded into the fifo. 3 lsr[3] framing error. logic 0 = no framing error (normal default condition) logic 1 = framing error. the receive character did not have a valid stop bit(s). in the fifo mode, this error is associated with the character at the top of the fifo. 2 lsr[2] parity error. logic 0 = no parity error (normal default condition logic 1 = parity error. the receive character does not have correct parity information and is suspect. in the fifo mode, this error is associated with the character at the top of the fifo. 1 lsr[1] overrun error. logic 0 = no overrun error (normal default condition) logic 1 = overrun error. a data overrun error occurred in the receive shift register. this happens when additional data arrives while the fifo is full. in this case, the previous data in the shift register is overwritten. note that under this condition, the data byte in the receive shift register is not transferred into the fifo, therefore the data in the fifo is not corrupted by the error. 0 lsr[0] receive data ready. logic 0 = no data in receive holding register or fifo (normal default condition) logic 1 = data has been received and is saved in the receive holding register or fifo
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 24 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.8 modem status register (msr) this register provides the current state of the control interface signals from the modem, or other peripheral device to which the sc16c652b is connected. four bits of this register are used to indicate the changed information. these bits are set to a logic 1 whenever a control input from the modem changes state. these bits are set to a logic 0 whenever the cpu reads this register. [1] whenever any msr bit 3:0 is set to logic 1, a modem status interrupt will be generated. 7.9 scratchpad register (spr) the sc16c652b provides a temporary data register to store 8 bits of user information. table 22: modem status register bits description bit symbol description 7 msr[7] cd. during normal operation, this bit is the complement of the cd input. reading this bit in the loop-back mode produces the state of mcr[3] ( op2). 6 msr[6] ri. during normal operation, this bit is the complement of the ri input. reading this bit in the loop-back mode produces the state of mcr[2] ( op1). 5 msr[5] dsr. during normal operation, this bit is the complement of the dsr input. during the loop-back mode, this bit is equivalent to mcr[0] ( dtr). 4 msr[4] cts. during normal operation, this bit is the complement of the cts input. during the loop-back mode, this bit is equivalent to mcr[1] ( r ts). 3 msr[3] d cd [1] logic 0 = no cd change (normal default condition) logic 1 = the cd input to the sc16c652b has changed state since the last time it was read. a modem status interrupt will be generated. 2 msr[2] d ri [1] logic 0 = no ri change (normal default condition) logic 1 = the ri input to the sc16c652b has changed from a logic 0 to a logic 1. a modem status interrupt will be generated. 1 msr[1] d dsr [1] logic 0 = no dsr change (normal default condition) logic 1 = the dsr input to the sc16c652b has changed state since the last time it was read. a modem status interrupt will be generated. 0 msr[0] d cts [1] logic 0 = no cts change (normal default condition) logic 1 = the cts input to the sc16c652b has changed state since the last time it was read. a modem status interrupt will be generated.
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 25 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 7.10 enhanced feature register (efr) enhanced features are enabled or disabled using this register. bits 0 through 4 provide single or dual character software ?ow control selection. when the xon1 and xon2 and/or xoff1 and xoff2 modes are selected, the double 8-bit words are concatenated into two sequential numbers. table 23: enhanced feature register bits description bit symbol description 7 efr[7] automatic cts ?ow control. logic 0 = automatic cts ?ow control is disabled (normal default condition) logic 1 = enable automatic cts ?ow control. transmission will stop when cts goes to a logical 1. transmission will resume when the cts pin returns to a logical 0. 6 efr[6] automatic rts ?ow control. automatic rts may be used for hardware ?ow control by enabling efr[6]. when auto-rts is selected, an interrupt will be generated when the receive fifo is ?lled to the programmed trigger level and r ts will go to a logic 1 at the next trigger level. r ts will return to a logic 0 when data is unloaded below the next lower trigger level (programmed trigger level 1). the state of this register bit changes with the status of the hardware ?ow control. r ts functions normally when hardware ?ow control is disabled. logic 0 = automatic rts ?ow control is disabled (normal default condition) logic 1 = enable automatic rts ?ow control 5 efr[5] special character detect. logic 0 = special character detect disabled (normal default condition) logic 1 = special character detect enabled. the sc16c652b compares each incoming receive character with xoff2 data. if a match exists, the received data will be transferred to fifo and isr[4] will be set to indicate detection of special character. bit-0 in the x-registers corresponds with the lsb bit for the receive character. when this feature is enabled, the normal software ?ow control must be disabled (efr[3:0] must be set to a logic 0). 4 efr[4] enhanced function control bit. the content of ier[7:4], isr[5:4], fcr[5:4], and mcr[7:5] can be modi?ed and latched. after modifying any bits in the enhanced registers, efr[4] can be set to a logic 0 to latch the new values. this feature prevents existing software from altering or overwriting the sc16c652b enhanced functions. logic 0 = disable/latch enhanced features. ier[7:4], isr[5:4], fcr[5:4], and mcr[7:5] are saved to retain the user settings, then ier[7:4] isr[5:4], fcr[5:4], and mcr[7:5] are set to a logic 0 to be compatible with sc16c554 mode. (normal default condition.) logic 1 = enables the enhanced functions. when this bit is set to a logic 1, all enhanced features of the sc16c652b are enabled and user settings stored during a reset will be restored. 3:0 efr[3:0] cont-3:0 tx, rx control. logic 0 or cleared is the default condition. combinations of software ?ow control can be selected by programming these bits. see t ab le 24 .
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 26 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder [1] when using a software ?ow control the xon/xoff characters cannot be used for data transfer. 7.11 sc16c652b external reset condition table 24: software ?ow control functions [1] cont-3 cont-2 cont-1 cont-0 tx, rx software ?ow controls 0 0 x x no transmit ?ow control 1 0 x x transmit xon1/xoff1 0 1 x x transmit xon2/xoff2 1 1 x x transmit xon1 and xon2/xoff1 and xoff2 x x 0 0 no receive ?ow control x x 1 0 receiver compares xon1/xoff1 x x 0 1 receiver compares xon2/xoff2 1011tr ansmit xon1/xoff1 receiver compares xon1 and xon2, xoff1 and xoff2 0111tr ansmit xon2/xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 1111tr ansmit xon1 and xon2/xoff1 and xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 table 25: reset state for registers register reset state ier ier[7:0] = 0 fcr fcr[7:0] = 0 isr isr[7:1] = 0; isr[0] = 1 lcr lcr[7:0] = 0 mcr mcr[7:0] = 0 lsr lsr[7] = 0; lsr[6:5] = 1; lsr[4:0] = 0 msr msr[7:4] = input signals; msr[3:0] = 0 spr sfr[7:0] = 1 dll dll[7:0] = x dlm dlm[7:0] = x table 26: reset state for outputs output reset state txa, txb logic 1 op2a, op2b logic 1 r tsa, r tsb logic 1 dtra, dtrb logic 1 inta, intb 3-state condition
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 27 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 8. limiting values 9. static characteristics [1] except xtal2, v ol = 1 v typical. [2] sleep current might be higher if there is any activity on the uart data bus during sleep mode. table 27: limiting values in accordance with the absolute maximum rating system (iec 60134). symbol parameter conditions min max unit v cc supply voltage - 7 v v n voltage at any pin gnd - 0.3 v cc + 0.3 v t amb ambient temperature operating in free air - 40 +85 c t stg storage temperature - 65 +150 c p tot(pack) total power dissipation per package - 500 mw table 28: static characteristics t amb = - 40 c to +85 c; tolerance of v cc = 10 %; unless otherwise speci?ed. symbol parameter conditions v cc = 2.5 v v cc = 3.3 v v cc = 5.0 v unit min max min max min max v il(ck) low-level clock input voltage - 0.3 0.45 - 0.3 0.6 - 0.5 0.6 v v ih(ck) high-level clock input voltage 1.8 v cc 2.4 v cc 3.0 v cc v v il low-level input voltage (except x1 clock) - 0.3 0.65 - 0.3 0.8 - 0.5 0.8 v v ih high-level input voltage (except x1 clock) 1.6 - 2.0 - 2.2 - v v ol low-level output voltage on all outputs [1] i ol =5ma (databus) -----0.4v i ol =4ma (other outputs) ---0.4--v i ol =2ma (databus) -0.4----v i ol = 1.6 ma (other outputs) -0.4----v v oh high-level output voltage i oh = - 5ma (databus) ----2.4-v i oh = - 1ma (other outputs) --2.0---v i oh = - 800 m a (data bus) 1.85 -----v i oh = - 400 m a (other outputs) 1.85 -----v i lil low-level input leakage current - 10 - 10 - 10 m a i cl clock leakage current - 30 - 30 - 30 m a i cc supply current f = 5 mhz - 3.5 - 4.5 - 4.5 ma i ccsleep sleep current [2] -50-50-50 m a c i input capacitance - 5 - 5 - 5 pf
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 28 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 10. dynamic characteristics table 29: dynamic characteristics t amb = - 40 c to +85 c; tolerance of v cc = 10 %; unless otherwise speci?ed. symbol parameter conditions v cc = 2.5 v v cc = 3.3 v v cc = 5.0 v unit min max min max min max t 1w , t 2w clock pulse duration 10 - 6 - 6 - ns f xtal oscillator/clock frequency [1] [2] - 48 - 80 80 mhz t 6s address set-up time 0 - 0 - 0 - ns t 6h address hold time 0 - 0 - 0 - ns t 7d ior delay from chip select 10 - 10 - 10 - ns t 7w ior strobe width 25 pf load 77 - 26 - 23 - ns t 7h chip select hold time from ior 0- 0- 0- ns t 9d read cycle delay 25 pf load 20 - 20 - 20 - ns t 12d delay from ior to data 25 pf load - 77 - 26 - 23 ns t 12h data disable time 25 pf load - 15 - 15 - 15 ns t 13d io w delay from chip select 10 - 10 - 10 - ns t 13w io w strobe width 20 - 20 - 15 - ns t 13h chip select hold time from io w 0- 0- 0- ns t 15d write cycle delay 25 - 25 - 20 - ns t 16s data set-up time 20 - 20 - 15 - ns t 16h data hold time 15 - 5 - 5 - ns t 17d delay from io w to output 25 pf load - 100 - 33 - 29 ns t 18d delay to set interrupt from modem input 25 pf load - 100 - 24 - 23 ns t 19d delay to reset interrupt from ior 25 pf load - 100 - 24 - 23 ns t 20d delay from stop to set interrupt [3] -1t rclk -1t rclk -1t rclk s t 21d delay from ior to reset interrupt 25 pf load - 100 - 29 - 28 ns t 22d delay from start to set interrupt - 100 - 45 - 40 ns t 23d delay from io w to transmit start [3] 8t rclk 24t rclk 8t rclk 24t rclk 8t rclk 24t rclk s t 24d delay from io w to reset interrupt - 100 - 45 - 40 ns t 25d delay from stop to set rxrd y [3] -1t rclk -1t rclk -1t rclk s t 26d delay from ior to reset rxrd y - 100 - 45 - 40 ns t 27d delay from io w to set txrd y - 100 - 45 - 40 ns
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 29 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder [1] applies to external clock, crystal oscillator max 24 mhz. [2] maximum frequency = [3] rclk is an internal signal derived from divisor latch lsb (dll) and divisor latch msb (dlm) divisor latches. 10.1 timing diagrams t 28d delay from start to reset txrd y [3] -8t rclk -8t rclk -8t rclk s t reset reset pulse width 200 - 40 - 40 - ns n baud rate divisor 1 (2 16 - 1) 1 (2 16 - 1) 1 (2 16 - 1) table 29: dynamic characteristics t amb = - 40 c to +85 c; tolerance of v cc = 10 %; unless otherwise speci?ed. symbol parameter conditions v cc = 2.5 v v cc = 3.3 v v cc = 5.0 v unit min max min max min max 1 t 3w ------- fig 6. general write timing data active active valid address 002aaa109 a0 to a2 csx iow d0 to d7 t 16s t 16h t 13d t 13w t 15d t 6h t 13h t 6s
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 30 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 7. general read timing data active active valid address 002aaa110 a0 to a2 csx ior d0 to d7 t 12d t 12h t 7d t 7w t 9d t 6h t 7h t 6s fig 8. modem input/output timing t 17d change of state t 18d t 18d t 19d 002aaa352 t 18d change of state change of state change of state active active active active active active active change of state rts dtr iow cd cts dsr int ior ri
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 31 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 9. external clock timing external clock 002aaa112 t 3w t 2w t 1w f xtal 1 t 3w ------- = fig 10. receive timing d0 d1 d2 d3 d4 d5 d6 d7 active active 16 baud rate clock 002aaa113 rx int ior t 21d t 20d 5 data bits 6 data bits 7 data bits stop bit parity bit start bit data bits (0 to 7) next data start bit
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 32 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 11. receive ready timing in non-fifo mode d0 d1 d2 d3 d4 d5 d6 d7 002aab063 next data start bit stop bit parity bit t 25d rx rxrdy ior active data ready start bit data bits (0 to 7) active t 26d fig 12. receive ready timing in fifo mode d0 d1 d2 d3 d4 d5 d6 d7 002aab064 first byte that reaches the trigger level stop bit parity bit t 25d rx rxrdy ior active data ready start bit data bits (0 to 7) active t 26d
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 33 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 13. transmit timing active transmitter ready active 16 baud rate clock 002aaa116 t 24d int iow active d0 d1 d2 d3 d4 d5 d6 d7 tx 5 data bits 6 data bits 7 data bits stop bit parity bit start bit data bits (0 to 7) next data start bit t 22d t 23d fig 14. transmit ready timing in non-fifo mode d0 d1 d2 d3 d4 d5 d6 d7 002aab062 stop bit parity bit t 27d tx iow d0 to d7 active transmitter ready start bit data bits (0 to 7) next data start bit byte #1 txrdy t 28d transmitter not ready active
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 34 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 15. transmit ready timing in fifo mode (dma mode 1) d0 d1 d2 d3 d4 d5 d6 d7 002aab065 stop bit parity bit t 27d tx iow d0 to d7 start bit data bits (0 to 7) byte #32 txrdy t 28d fifo full active 5 data bits 6 data bits 7 data bits
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 35 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 16. infrared transmit timing fig 17. infrared receive timing 01010011 1 0 uart frame tx data 1 / 2 bit time 002aaa212 data bits start stop bit time irda tx data 3 / 16 bit time 01010011 1 0 uart frame rx data irda rx data bit time 002aaa213 start data bits stop 0 to 1 16 clock delay
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 36 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 11. package outline fig 18. package outline sot313-2 (lqfp48) unit a max. a 1 a 2 a 3 b p ce (1) eh e ll p z y w v q references outline version european projection issue date iec jedec jeita mm 1.6 0.20 0.05 1.45 1.35 0.25 0.27 0.17 0.18 0.12 7.1 6.9 0.5 9.15 8.85 0.95 0.55 7 0 o o 0.12 0.1 0.2 1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.75 0.45 sot313-2 ms-026 136e05 00-01-19 03-02-25 d (1) (1) (1) 7.1 6.9 h d 9.15 8.85 e z 0.95 0.55 d b p e e b 12 d h b p e h v m b d z d a z e e v m a 1 48 37 36 25 24 13 q a 1 a l p detail x l (a ) 3 a 2 x y c w m w m 0 2.5 5 mm scale pin 1 index lqfp48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm sot313-2
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 37 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder fig 19. package outline sot617-1 (hvqfn32) 0.5 1 a 1 e h b unit y e 0.2 c references outline version european projection issue date iec jedec jeita mm 5.1 4.9 d h 3.25 2.95 y 1 5.1 4.9 3.25 2.95 e 1 3.5 e 2 3.5 0.30 0.18 0.05 0.00 0.05 0.1 dimensions (mm are the original dimensions) sot617-1 mo-220 - - - - - - 0.5 0.3 l 0.1 v 0.05 w 0 2.5 5 mm scale sot617-1 hvqfn32: plastic thermal enhanced very thin quad flat package; no leads; 32 terminals; body 5 x 5 x 0.85 mm a (1) max. a a 1 c detail x y y 1 c e l e h d h e e 1 b 916 32 25 24 17 8 1 x d e c b a e 2 terminal 1 index area terminal 1 index area 01-08-08 02-10-18 1/2 e 1/2 e a c c b v m w m e (1) note 1. plastic or metal protrusions of 0.075 mm maximum per side are not included. d (1)
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 38 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 12. soldering 12.1 introduction to soldering surface mount packages this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our data handbook ic26; integrated circuit packages (document order number 9398 652 90011). there is no soldering method that is ideal for all surface mount ic packages. wave soldering can still be used for certain surface mount ics, but it is not suitable for ?ne pitch smds. in these situations re?ow soldering is recommended. 12.2 re?ow soldering re?ow soldering requires solder paste (a suspension of ?ne solder particles, ?ux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. several methods exist for re?owing; for example, convection or convection/infrared heating in a conveyor type oven. throughput times (preheating, soldering and cooling) vary between 100 seconds and 200 seconds depending on heating method. typical re?ow peak temperatures range from 215 cto270 c depending on solder paste material. the top-surface temperature of the packages should preferably be kept: ? below 225 c (snpb process) or below 245 c (pb-free process) C for all bga, htsson..t and ssop..t packages C for packages with a thickness 3 2.5 mm C for packages with a thickness < 2.5 mm and a volume 3 350 mm 3 so called thick/large packages. ? below 240 c (snpb process) or below 260 c (pb-free process) for packages with a thickness < 2.5 mm and a volume < 350 mm 3 so called small/thin packages. moisture sensitivity precautions, as indicated on packing, must be respected at all times. 12.3 wave soldering conventional single wave soldering is not recommended for surface mount devices (smds) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. to overcome these problems the double-wave soldering method was speci?cally developed. if wave soldering is used the following conditions must be observed for optimal results: ? use a double-wave soldering method comprising a turbulent wave with high upward pressure followed by a smooth laminar wave. ? for packages with leads on two sides and a pitch (e): C larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board;
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 39 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder C smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves at the downstream end. ? for packages with leads on four sides, the footprint must be placed at a 45 angle to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves downstream and at the side corners. during placement and before soldering, the package must be ?xed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. typical dwell time of the leads in the wave ranges from 3 seconds to 4 seconds at 250 c or 265 c, depending on solder material applied, snpb or pb-free respectively. a mildly-activated ?ux will eliminate the need for removal of corrosive residues in most applications. 12.4 manual soldering fix the component by ?rst soldering two diagonally-opposite end leads. use a low voltage (24 v or less) soldering iron applied to the ?at part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 seconds to 5 seconds between 270 c and 320 c. 12.5 package related soldering information [1] for more detailed information on the bga packages refer to the (lf)bga application note (an01026); order a copy from your philips semiconductors sales of?ce. [2] all surface mount (smd) packages are moisture sensitive. depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). for details, refer to the drypack information in the data handbook ic26; integrated circuit packages; section: packing methods . [3] these transparent plastic packages are extremely sensitive to re?ow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared re?ow soldering with peak temperature exceeding 217 c 10 c measured in the atmosphere of the re?ow oven. the package body peak temperature must be kept as low as possible. table 30: suitability of surface mount ic packages for wave and re?ow soldering methods package [1] soldering method wave re?ow [2] bga, htsson..t [3] , lbga, lfbga, sqfp, ssop..t [3] , tfbga, vfbga, xson not suitable suitable dhvqfn, hbcc, hbga, hlqfp, hso, hsop, hsqfp, hsson, htqfp, htssop, hvqfn, hvson, sms not suitable [4] suitable plcc [5] , so, soj suitable suitable lqfp, qfp, tqfp not recommended [5] [6] suitable ssop, tssop, vso, vssop not recommended [7] suitable cwqccn..l [8] , pmfp [9] , wqccn..l [8] not suitable not suitable
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 40 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder [4] these packages are not suitable for wave soldering. on versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. on versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. [5] if wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. the package footprint must incorporate solder thieves downstream and at the side corners. [6] wave soldering is suitable for lqfp, qfp and tqfp packages with a pitch (e) larger than 0.8 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. [7] wave soldering is suitable for ssop, tssop, vso and vssop packages with a pitch (e) equal to or larger than 0.65 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. [8] image sensor packages in principle should not be soldered. they are mounted in sockets or delivered pre-mounted on ?ex foil. however, the image sensor package can be mounted by the client on a ?ex foil by using a hot bar soldering process. the appropriate soldering pro?le can be provided on request. [9] hot bar soldering or manual soldering is suitable for pmfp packages. 13. abbreviations table 31: abbreviations acronym description fifo first in, first out uart universal asynchronous receiver/transmitter cpu central processing unit isdn integrated service digital network dma direct memory access
sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 41 of 43 philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 14. revision history table 32: revision history document id release date data sheet status change notice doc. number supersedes sc16c652b_4 20050901 product data sheet - - sc16c652b-03 modi?cations: ? the format of this data sheet has be redesigned to comply with the new presentation and information standard of philips semiconductors. ? t ab le 4 inter nal registers decoding on page 8 , t ab le note 3 : changed bf(hex) to bfh ? section 6.8 prog r ammab le baud r ate gener ator on page 11 , 3rd paragraph: changed from ... from 1 to 2 16 - 1. to ... from 1 to (2 16 - 1). ? t ab le 6 on page 12 : added (bit/s) to ?rst column heading ? add new section 6.11 sleep mode on page 14 ? t ab le 9 sc16c652b inter nal registers on page 15 : removed shading, added (new) t ab le note 2 and references to it in previously shaded table cells ? t ab le 18 lcr[2] stop bit length on page 21 : added (bits) to column heading word length ? t ab le 19 lcr[1:0] w ord length on page 21 : added (bits) to column heading word length ? t ab le 28 static char acter istics on page 27 : C added row i ccsleep and new t ab le note 2 C t ab le note 1 : changed x 2 to xtal2 ? t ab le 29 dynamic char acter istics on page 28 : C changed symbol t 3w to f xtal and added (new) t ab le note 2 C presentation of values for t 20d , t 23d , t 25d , t 28d changed: t rclk appended to multiplier; unit changed from r clk to s; t ab le note 3 added and referenced at these 4 timing measurements C unit r clk deleted from row for symbol n (n is a number) ? added equation to figure 9 exter nal cloc k timing on page 31 ? signal txrd y modi?ed in figure 14 t r ansmit ready timing in non-fifo mode on page 33 ? figure 15 t r ansmit ready timing in fifo mode (dma mode 1) on page 34 : changed byte #1 to byte #32 ? added section 13 ab bre viations sc16c652b-03 20041210 product data - 9397 750 14452 sc16c652b-02 modi?cations: ? there is no modi?cation to the data sheet. however, reader is advised to refer to an10333 (rev. 01) sc16cxxxb baud rate deviation tolerance (9397 750 14411) that was released together with this revision. sc16c652b-02 20040617 product data - 9397 750 13123 sc16c652b-01 sc16c652b-01 20040326 product data - 9397 750 11972 -
philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder sc16c652b_4 ? koninklijke philips electronics n.v. 2005. all rights reserved. product data sheet rev. 04 1 september 2005 42 of 43 15. data sheet status [1] please consult the most recently issued data sheet before initiating or completing a design. [2] the product status of the device(s) described in this data sheet may have changed since this data sheet was published. the l atest information is available on the internet at url http://www.semiconductors.philips.com. [3] for data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. 16. de?nitions short-form speci?cation the data in a short-form speci?cation is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values de?nition limiting values given are in accordance with the absolute maximum rating system (iec 60134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the speci?ed use without further testing or modi?cation. 17. disclaimers life support these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes philips semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. when the product is in full production (status production), relevant changes will be communicated via a customer product/process change noti?cation (cpcn). philips semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise speci?ed. 18. trademarks notice all referenced brands, product names, service names and trademarks are the property of their respective owners. 19. contact information for additional information, please visit: http://www.semiconductors.philips.com for sales of?ce addresses, send an email to: sales.addresses@www.semiconductors.philips.com level data sheet status [1] product status [2] [3] de?nition i objective data development this data sheet contains data from the objective speci?cation for product development. philips semiconductors reserves the right to change the speci?cation in any manner without notice. ii preliminary data quali?cation this data sheet contains data from the preliminary speci?cation. supplementary data will be published at a later date. philips semiconductors reserves the right to change the speci?cation without notice, in order to improve the design and supply the best possible product. iii product data production this data sheet contains data from the product speci?cation. philips semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. relevant changes will be communicated via a customer product/process change noti?cation (cpcn).
? koninklijke philips electronics n.v. 2005 all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. date of release: 1 september 2005 document number: sc16c652b_4 published in the netherlands philips semiconductors sc16c652b dual uart with 32-byte fifos and irda encoder/decoder 20. contents 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 5.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 functional description . . . . . . . . . . . . . . . . . . . 7 6.1 uart a-b functions . . . . . . . . . . . . . . . . . . . . . 8 6.2 internal registers. . . . . . . . . . . . . . . . . . . . . . . . 8 6.3 fifo operation . . . . . . . . . . . . . . . . . . . . . . . . . 9 6.4 hardware ?ow control . . . . . . . . . . . . . . . . . . . . 9 6.5 software ?ow control . . . . . . . . . . . . . . . . . . . . 9 6.6 special feature software ?ow control . . . . . . . 10 6.7 hardware/software and time-out interrupts. . . 10 6.8 programmable baud rate generator . . . . . . . . 11 6.9 dma operation . . . . . . . . . . . . . . . . . . . . . . . . 12 6.10 loop-back mode . . . . . . . . . . . . . . . . . . . . . . . 12 6.11 sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 14 7 register descriptions . . . . . . . . . . . . . . . . . . . 15 7.1 transmit (thr) and receive (rhr) holding registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 7.2 interrupt enable register (ier) . . . . . . . . . . . 16 7.2.1 ier versus transmit/receive fifo interrupt mode operation. . . . . . . . . . . . . . . . . . . . . . . . 17 7.2.2 ier versus receive/transmit fifo polled mode operation. . . . . . . . . . . . . . . . . . . . . . . . 17 7.3 fifo control register (fcr) . . . . . . . . . . . . . 18 7.3.1 dma mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.3.1.1 mode 0 (fcr bit 3 = 0) . . . . . . . . . . . . . . . . . . 18 7.3.1.2 mode 1 (fcr bit 3 = 1) . . . . . . . . . . . . . . . . . . 18 7.3.2 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.4 interrupt status register (isr) . . . . . . . . . . . . 20 7.5 line control register (lcr) . . . . . . . . . . . . . . 21 7.6 modem control register (mcr) . . . . . . . . . . . 22 7.7 line status register (lsr) . . . . . . . . . . . . . . . 23 7.8 modem status register (msr). . . . . . . . . . . . 24 7.9 scratchpad register (spr) . . . . . . . . . . . . . . 24 7.10 enhanced feature register (efr) . . . . . . . . . 25 7.11 sc16c652b external reset condition . . . . . . . 26 8 limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 27 9 static characteristics. . . . . . . . . . . . . . . . . . . . 27 10 dynamic characteristics . . . . . . . . . . . . . . . . . 28 10.1 timing diagrams . . . . . . . . . . . . . . . . . . . . . . . 29 11 package outline . . . . . . . . . . . . . . . . . . . . . . . . 36 12 soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 12.1 introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 12.2 re?ow soldering. . . . . . . . . . . . . . . . . . . . . . . 38 12.3 wave soldering. . . . . . . . . . . . . . . . . . . . . . . . 38 12.4 manual soldering . . . . . . . . . . . . . . . . . . . . . . 39 12.5 package related soldering information . . . . . . 39 13 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 40 14 revision history . . . . . . . . . . . . . . . . . . . . . . . 41 15 data sheet status. . . . . . . . . . . . . . . . . . . . . . . 42 16 de?nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 17 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 18 trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 19 contact information . . . . . . . . . . . . . . . . . . . . 42


▲Up To Search▲   

 
Price & Availability of SC16C652BIBS151

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X